 {
        
        var o = require("./UIPopupBase.js"), i = require("../UIManager/UISoundManager.js");
        cc.Class({
            extends: o,
            properties: {},
            init: function () {
            },
            onLoad: function () {
                this._recordlist = Global.utils.searchNode(this.node, "recordlist"), this.showitem();
            },
            bindData: function () {
            },
            setInformationWithTotalAndLoss: function () {
            },
            onCheckBill: function () {
                i.playEffect("select"), console.log("onVideoBtn");
            },
            showitem: function () {
                cc.error("+++++++++领取红包++++++++++");
                var e = [];
                e[0] = "领取红包", e[1] = "0.9", e[2] = "20180718";
                for (var t = [], n = 0; n < 10; n++) t.push(e);
                cc.error("+++++++++领取红包++++++++++", t);
                var o = t || [];
                if (o.length > 0) for (n = 0; n < o.length; n++) {
                    var i = this.getItem(n);
                    i.active = !0, cc.error("+++++++++领取红包++++++++++", o[n]), Global.utils.searchComp(i, "label_1", cc.Label).string = o[n][0],
                        Global.utils.searchComp(i, "label_2", cc.Label).string = o[n][1], Global.utils.searchComp(i, "label_3", cc.Label).string = o[n][2];
                } else this._recordlist.removeAllChildren();
            },
            getItem: function (e) {
                if (this._recordlist) {
                    if (e < this._recordlist.children.length) return this._recordlist.children[e];
                    var t = cc.instantiate(this._recordlist.children[0]);
                    return this._recordlist.addChild(t), t;
                }
            }
        })
    }